using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace frmLogin
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("vi-VN");

            //Set button text from resources
            MessageBoxManager.OK = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerOK;
            MessageBoxManager.Cancel = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerCancel;
            MessageBoxManager.Retry = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerRetry;
            MessageBoxManager.Ignore = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerIgnore;
            MessageBoxManager.Abort = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerAbort;
            MessageBoxManager.Yes = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerYes;
            MessageBoxManager.No = UTLBASEFORM.CMessageBoxLabelButton.MessageBoxManagerNo;

            //Register manager
            MessageBoxManager.Register();
            Application.Run(new Login());
        }
    }
}